import Vue from 'vue'
import VueRouter from 'vue-router'
import company from '../views/company'
import question from '../views/question'
import find from '../views/find'
import my from '../views/my'

Vue.use(VueRouter)

const routes = [
  {
    path: '/company',
    component: company
  },
  {
    path: '/question',
    component: question
  },
  {
    path: '/find',
    component: find
  },
  {
    path: '/my',
    component: my
  }
]

const router = new VueRouter({
  routes
})

export default router
